#include "ModelInstance.h"

ModelInstance::ModelInstance( Pointer<Model>& model ) : m_model( model )//, m_skeletonInstance(0)
{
//	if (model->getSkeleton().isValid())
//		m_skeletonInstance = new SkeletonInstance( model->getSkeleton() );
}

MeshInstance::Vector_t& ModelInstance::getMeshInstances()
{
	return m_meshInstances;
}

//Pointer<SkeletonInstance>& ModelInstance::getSkeletonInstance()
//{
//	return m_skeletonInstance;
//}

Pointer<Model>& ModelInstance::getModel()
{
	return m_model;
}

